var assert = require("assert")

var $ = exports

$.testOk = function() {assert.ok(true); assert.ok("sarlanga")}
$.testRaises = function() {
	assert.raises(function(){
		assert.ok(false)
	}, assert.AssertionError)
}

$.testEqual = function() {
	assert.equal("a", "a")
	assert.raises(function(){
		assert.equal("a","b")
	}, assert.AssertionError)
}

// Used to test how results are shown. Commented out intentionally
/*
$.testFail = function() {
	assert.fail("Test")
}

$.testThrow = function() {
	throw "Throwed!"
}
*/